﻿using Inovout.Business;

namespace Inovout.SoftwareStudio.Business
{
    [Alias("产品")]
    public class SoftwareStudioFunctionGroup : FunctionGroup
    {
        //public static SoftwareStudioFunctionGroup Instance
        //{
        //    get { return ComponentRegistry.Resolve<SoftwareStudioFunctionGroup>(); }
        //}
        public SoftwareStudioFunctionGroup()
            : base(Application)
        {
            ListProduct = NewFunction(View, typeof(ListProductWorkItem));
            NewProduct = NewFunction(typeof(NewProductWorkItem),ListProduct);
            SaveProduct = NewFunction(typeof(SaveProductWorkItem), NewProduct);
        }

        [Alias("产品")]
        public readonly Function ListProduct;
        [Alias("新建产品")]
        public readonly Function NewProduct;
        [Alias("保存产品")]
        public readonly Function SaveProduct;

    }
}
